<!DOCTYPE html>
<script>
onload = function() {
  container.scrollLeft = 2000;
};
</script>
There should be a green square.
<div id="container" style="width: 200px; height: 200px; overflow: scroll">
  <div style="width: 2000px">
    <div style="width: 100px; height: 100px; background: green; float: right"></div>
  </div>
</div>
